﻿@model LaMalleAJeux.Models.Game
@using LaMalleAJeux.Helpers

@{
    ViewBag.Title = @Html.Localise("DetailGame");
}

<h2>@Html.Localise("DetailGame")</h2>

<fieldset>
    <legend>@Html.Localise("Game")</legend>

    <div class="display-label">@Html.Localise("Name")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">@Html.Localise("Description")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">@Html.Localise("Price")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>

    <div class="display-label">@Html.Localise("Duration")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Duration)
    </div>

    <div class="display-label">@Html.Localise("MaximumAge")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaximumAge)
    </div>

    <div class="display-label">@Html.Localise("MinimumAge")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MinimumAge)
    </div>

    <div class="display-label">@Html.Localise("MaximumPlayers")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaximumPlayers)
    </div>

    <div class="display-label">@Html.Localise("MinimumPlayers")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MinimumPlayers)
    </div>

    <div class="display-label">@Html.Localise("ReleaseDate")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ReleaseDate)
    </div>

    <div class="display-label">@Html.Localise("PictureUrl")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PictureUrl)
    </div>

    <div class="display-label">@Html.Localise("Rating")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rating)
    </div>

    <div class="display-label">@Html.Localise("IsNew")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsNew)
    </div>

    <div class="display-label">@Html.Localise("IsVisible")</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsVisible)
    </div>
</fieldset>
<p>
    @Html.ActionLink(@Html.Localise("Edit"), "Edit", new { id = Model.Id }) |
    @Html.ActionLink(@Html.Localise("BackToTheList"), "Index")
</p>
